package tools;

import index.StartGame;

import javax.swing.*;
import java.awt.*;

public class Pen extends JPanel {
    @Override
    public void paint(Graphics g) {

        g.drawImage(StartGame.backGroud,0,0,this);
        g.drawImage(StartGame.hero0,StartGame.HERO_INITIAL_POSITION[0],StartGame.HERO_INITIAL_POSITION[1],this);
        g.drawImage(StartGame.littleEnemy,30,30,this);
        g.drawImage(StartGame.bigEnemy,200,30,this);
        g.drawImage(StartGame.bullet,100,400,this);
    }
}
